/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author pvhuy
 */
@Entity
@Table(name=LoaiTien.TABLE_LOAITIEN)
public class LoaiTien extends Base{
    public static final String TABLE_LOAITIEN = "LoaiTien";

    protected static final String COLUMN_TENLOAITIEN = "TenLoaiTien";
    private static final int LENGTH_TENLOAITIEN = 45;
    @Column(name=COLUMN_TENLOAITIEN, length=LENGTH_TENLOAITIEN, nullable=false)
    private String tenLoaiTien;

    /**
     * @return the tenLoaiTien
     */
    public String getTenLoaiTien() {
        return tenLoaiTien;
    }

    /**
     * @param tenLoaiTien the tenLoaiTien to set
     */
    public void setTenLoaiTien(String tenLoaiTien) {
        this.tenLoaiTien = tenLoaiTien;
    }
}
